﻿<Window x:Class="BANGSINHVIEN2.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SINH VIÊN" Height="500" Width="600"
        Loaded="Window_Loaded_1">
    <Grid Margin="10,20,20,10">
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition  Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Label Content="Mã Sinh Viên" Grid.Row="0"  Grid.Column="0" Margin="0,0,20,0" />
        <Label Content="Tên Sinh Viên" Grid.Row="1" Grid.Column="0" />
        <Label Content="Lớp"  Name="cbomalop"  Grid.Row="2" Grid.Column="0" />
        <Label Content="Địa Chỉ" Grid.Row="3" Grid.Column="0" />
        <TextBox Name="txtMASV" Grid.Row="0" Grid.Column="1" Margin="0,0,0,10"/>
        <TextBox Name="txtTENSV" Grid.Row="1" Grid.Column="1" Margin="0,0,0,10"/>
        <ComboBox Name="cboMALOP" Grid.Row="2" Grid.Column="1" Margin="0,0,0,10"/>
        <TextBox Name="txtDIACHI" Grid.Row="3" Grid.Column="1" Margin="0,0,0,10"/>
        <Button Width="80" Click="Button_Click_1" Content="OK" Grid.Row="4" Grid.Column="1" Margin="0,0,190,0" HorizontalAlignment="Right"/>
        <Button Width="80" Click="Button_Click_2" Content="CANCEL" Grid.Row="4" Grid.Column="1" Margin="0,0,10,0" HorizontalAlignment="Right" />
    </Grid>
 
</Window>
